package zzuli.edu.cn.controller;

import io.swagger.annotations.*;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import zzuli.edu.cn.dao.pojo.Student;

@Api(value = "@ApiModel注解测试", tags = "@ApiModel注解测试")
@RestController
public class Swagger2Controller4 {

    @ApiOperation(value = "@ApiModel测试", notes = "此方法用于@ApiModel测试")
    @PostMapping("/apiModel")
    @ApiImplicitParam(name = "Student", value = "学生对象", required = true, paramType = "query", dataType = "Student")
    public Student ApiModelTest(Student student) {
        return student;
    }

}
